
	<div style="height:25px;"> </div>
	<div class="container" id="container">
	<?php if(isset($list) && is_array($list)): foreach($list as $key=>$row): ?>
		<div class="item">
			<a href="meinu.php?id=<?php echo $row['id'];?>">
			<img src="<?php echo SITEPATH.$row['image'];?>" alt="<?php echo $row['title'];?>" title="<?php echo $row['title'];?>"/>			
			</a>
            <div style="text-align: center;">
                <a href="meinu.php?id=<?php echo $row['id'];?>">
                   <?php echo $row['title'];?>
                </a>
            </div>
		</div>
	<?php endforeach; endif; ?>
	</div>
		<script src="http://cdn.staticfile.org/jquery/1.8.3/jquery.min.js"></script>
		<script src="/template/default/js/bootstrap.min.js"></script>
     <script src="http://masonry.desandro.com/masonry.pkgd.min.js"></script>
     <script>
         var container = document.querySelector('#container');
         var msnry = new Masonry( container, {
             // options
             columnWidth:40,
             itemSelector: '.item'
         });

         var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
         document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fccc878829a458355a3e96d80f3aaf639' type='text/javascript'%3E%3C/script%3E"));

     </script>
	</body>
</html>
